package me.monster.smarttraffic.tool;

import android.widget.Toast;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-11 14:37
 */
public class ToastUtils {


    private static ToastUtils instance;

    private ToastUtils() {

    }

    public static ToastUtils getInstance() {
        if (instance == null) {
            instance = new ToastUtils();
        }
        return instance;
    }

    public void toast(CharSequence msg) {
        Toast.makeText(Util.getApp(), msg, Toast.LENGTH_SHORT).show();
    }

}
